<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html">
        <h:form>
            <h:outputText style="font-weight: bold" value="Product Name:" />
            <h:inputText required="true" requiredMessage="Field is required." id="productName" value="#{quotationBean.productName}">
            </h:inputText>
            <br/>
            <h:outputText style="font-weight: bold" value="Product Price:" />
            <h:inputText required="true" requiredMessage="Field is required." id="productPrice" value="#{quotationBean.productPrice}">
            </h:inputText>
            <br/>
            <h:outputText style="font-weight: bold" value="Choose a business type:" />
            <h:selectOneRadio id="BusinessType" value="#{quotationBean.businessType}" required ="true">
                <f:selectItem id="Type1" itemLabel="Wholesales" itemValue="Wholesales" />
                <f:selectItem id="Type2" itemLabel="Direct" itemValue="Direct" />
            </h:selectOneRadio>
            <br/><br/>
            <h:commandButton action="result.xhtml" value="Save" actionListener="#{quotationBean.editIndicativeProductPrice}"/>
        </h:form>
</ui:composition>
